package entidadesVO;

import java.io.Serializable;
import java.sql.Date;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;

public class SolDistVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Date fechaSolDist;
	private CentroDistribucionVO centroDistribucion;
	private Set<ArticulosSolDistVO> articulosSolDist = new HashSet<ArticulosSolDistVO>();
	
	private int codigoSolDist;
	
	public SolDistVO(Date fechaSolDist, CentroDistribucionVO centroDistribucion) {
		this.fechaSolDist = fechaSolDist;
		this.centroDistribucion = centroDistribucion;
	}
	public SolDistVO(){
		//Constructor Vacio
	}

	public Collection<ArticulosSolDistVO> getArticulosSolDist() {
		return articulosSolDist;
	}
	public void setArticulosSolDist(Set<ArticulosSolDistVO> articulosSolDist) {
		this.articulosSolDist = articulosSolDist;
	}
	public void addArticulosSolDist(ArticulosSolDistVO articulosSolDist){
		this.articulosSolDist.add(articulosSolDist);
	}

	public CentroDistribucionVO getCentroDistribucion() {
		return centroDistribucion;
	}
	public void setCentroDistribucion(CentroDistribucionVO centroDistribucion) {
		this.centroDistribucion = centroDistribucion;
	}

	public Date getFechaSolDist() {
		return fechaSolDist;
	}
	public void setFechaSolDist(Date fechaSolDist) {
		this.fechaSolDist = fechaSolDist;
	}

	public int getCodigoSolDist() {
		return codigoSolDist;
	}
	public void setCodigoSolDist(int codigoSolDist) {
		this.codigoSolDist = codigoSolDist;
	}	
}
